package com.jy.adscm.operation.cg.mapper.mysql;

import com.jy.adscm.operation.cg.bean.CgBom;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jy.adscm.operation.cg.bean.QueryCgBom;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * bom Mapper 接口
 * </p>
 *
 * @author zyl
 * @since 2019-07-07
 */
public interface CgBomMapper extends BaseMapper<CgBom> {
   List<CgBom> selectBoms(QueryCgBom queryCgBom);
   @Delete("DELETE FROM cg_bom where id=#{id} ")
    void deleteCgBom(@Param("id") Integer id);

    List<CgBom> queryBoms(QueryCgBom queryCgBom);
}
